package com.czq.springioc.entity;

import com.czq.springioc.stereotype.Autowired;
import com.czq.springioc.stereotype.Component;

/**
 * @author 程子强
 * @Description
 * @date 2024/7/9 9:40
 */
@Component
public class TestController {
    @Autowired
    private UserService userService;

    public void test(){
        userService.addUser("chengziqiang",21);
    }
}
